package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 收支预算
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2024-02-24 21:57:14
 */
@TableName("shouzhiyusuan")
public class ShouzhiyusuanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ShouzhiyusuanEntity() {
		
	}
	
	public ShouzhiyusuanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 用户账号
	 */
					
	private String yonghuzhanghao;
	
	/**
	 * 用户姓名
	 */
					
	private String yonghuxingming;
	
	/**
	 * 月份
	 */
					
	private String yuefen;
	
	/**
	 * 收入预算
	 */
					
	private Double shouruyusuan;
	
	/**
	 * 支出预算
	 */
					
	private Double zhichuyusuan;
	
	/**
	 * 月结余
	 */
					
	private Integer yuejieyu;
	
	/**
	 * 预算依据
	 */
					
	private String yusuanyiju;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：用户账号
	 */
	public void setYonghuzhanghao(String yonghuzhanghao) {
		this.yonghuzhanghao = yonghuzhanghao;
	}
	/**
	 * 获取：用户账号
	 */
	public String getYonghuzhanghao() {
		return yonghuzhanghao;
	}
	/**
	 * 设置：用户姓名
	 */
	public void setYonghuxingming(String yonghuxingming) {
		this.yonghuxingming = yonghuxingming;
	}
	/**
	 * 获取：用户姓名
	 */
	public String getYonghuxingming() {
		return yonghuxingming;
	}
	/**
	 * 设置：月份
	 */
	public void setYuefen(String yuefen) {
		this.yuefen = yuefen;
	}
	/**
	 * 获取：月份
	 */
	public String getYuefen() {
		return yuefen;
	}
	/**
	 * 设置：收入预算
	 */
	public void setShouruyusuan(Double shouruyusuan) {
		this.shouruyusuan = shouruyusuan;
	}
	/**
	 * 获取：收入预算
	 */
	public Double getShouruyusuan() {
		return shouruyusuan;
	}
	/**
	 * 设置：支出预算
	 */
	public void setZhichuyusuan(Double zhichuyusuan) {
		this.zhichuyusuan = zhichuyusuan;
	}
	/**
	 * 获取：支出预算
	 */
	public Double getZhichuyusuan() {
		return zhichuyusuan;
	}
	/**
	 * 设置：月结余
	 */
	public void setYuejieyu(Integer yuejieyu) {
		this.yuejieyu = yuejieyu;
	}
	/**
	 * 获取：月结余
	 */
	public Integer getYuejieyu() {
		return yuejieyu;
	}
	/**
	 * 设置：预算依据
	 */
	public void setYusuanyiju(String yusuanyiju) {
		this.yusuanyiju = yusuanyiju;
	}
	/**
	 * 获取：预算依据
	 */
	public String getYusuanyiju() {
		return yusuanyiju;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}

}
